﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Src="Calendario.ascx" TagName="Calendario" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link rel="Stylesheet" href="css/Calendario.css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <br />
        <uc1:Calendario ID="Calendario1" runat="server" />
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" Text="Exibir datas selecionadas" />
        <br />
        <br />
        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Limpar datas selecionadas (PostBack)" />
        <br />
        <br />
        <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="Adicionar uma data aleatória (PostBack)" />
        <br />
        <br />
        <asp:Button ID="Button4" runat="server" OnClick="Button4_Click" Text="Ir para 19/02/1990 (PostBack)" />
        <br />
        <br />
        <input type="button" id="btnGoTo" value="Ir para 05/11/1979 (JavaScript)" onclick="Page.Calendario1.irParaData(1979, 10, 5)" />
        <br />
        <br />
        <input type="button" id="Button5" value="Seleciona para 05/11/1979 (JavaScript)" onclick="Page.Calendario1.selecionaData(1979, 10, 5)" />
    </div>
    </form>
</body>
</html>
